
body {
    width: 300px;
    height: 340px;
    padding: 5px 20px 5px 20px;
    background: #303030;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Helvetica, Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", "Heiti SC", "WenQuanYi Micro Hei", "PingFang TC", sans-serif;
    overflow: hidden;
    /*-webkit-font-smoothing: antialiased;*/
    /*transition: all 200ms ease-in-out;*/
}

body.expand {
    width: 300px;
    height: 420px;
    padding: 5px 20px 5px 20px;
    background: #303030;
    overflow: auto;
}

body.zh-CN .shortcuts-table .shortcut .name,
body.zh-TW .shortcuts-table .shortcut .name {
    width: 90px;
    flex: none;
}

body.zh-CN .shortcuts-table .shortcut .input,
body.zh-TW .shortcuts-table .shortcut .input {
    flex: 1;
}

.show-on-more {
    display: none;
}

body.expand .show-on-more {
    display: block;
}

body.expand .hide-on-more {
    display: none;
}

.hide {
    display: none;
}

.message {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    padding: 20px;
    text-align: center;
    transform: translateX(-50%) translateY(-50%);
}

.message p {
    font-size: 13px;
    color: #43474e;
    letter-spacing: 0;
    margin: 0;
}

.message .button {
    display: block;
    width: 100%;
    padding: 10px 0;
    color: #fff;
    background: #3b82ff;
    font-size: 13px;
    text-align: center;
    border-radius: 2px;
}

.message .button:hover {
    opacity: 0.9;
    cursor: pointer;
}

/** header start **/
.dropdown-menu .menu-header {
    display: flex;
    height: 40px;
    user-select: none;
    position: relative;
    line-height: 42px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #e4e4e4;
    padding: 0 5px;
    cursor: pointer;
}

.dropdown-menu .menu-header:hover {
    border-radius: 5px;
    border: 1px solid #17baa1;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 42px;
}

.dropdown-menu .menu-header .logo {
    width: 50%;
}

.dropdown-menu .menu-header .logo .icon-logo {
    margin-top: 6px;
    width: 100px;
    height: 25px;
    background-image: url(./logodark.png);
}

.dropdown-menu .menu-header .setting {
    position: relative;
    display: flex;
    width: 50%;
    height: 100%;
}

.dropdown-menu .menu-header .setting .name {
    width: 70%;
    margin-top: -2px;
    margin-left: 20px;
    text-align: right;
    color: #A1A6C4;
    height: 100%;
}

.dropdown-menu .menu-header .setting .icon {
    vertical-align: middle;
    display: inline-block;
    margin-top: 10px;
    width: 30%;
}

.dropdown-menu .menu-header .setting .icon img {
    vertical-align: middle;
    float: right;
    max-width: 20px;
    max-height: 20px;
    display: block;
}

.dropdown-menu .menu-header:hover .name {
    color: #F0F0FF;
}

.dropdown-menu .menu-header .setting .icon .normal {
    display: block;
}

.dropdown-menu .menu-header .setting .icon .active {
    display: none;
}

.dropdown-menu .menu-header:hover .setting .icon .normal {
    display: none;
}

.dropdown-menu .menu-header:hover .setting .icon .active {
    display: block;
}

/** header end **/

/** save-images start **/
.dropdown-menu .menu-content {
    width: 100%;
}

.dropdown-menu .menu-content .section {
    margin-top: 16px;
    width: 100%;
    height: 80px;
}

.dropdown-menu .menu-content #save-feature {
    margin-top: 16px;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
}

.dropdown-menu .menu-content .section .save-feature {
    width: 49%;
    height: 80%;
    display: flex;
    vertical-align: middle;
    border-radius: 5px;
    box-sizing: border-box;
    background: #2c2c2c;
    cursor: pointer;
}

.dropdown-menu .menu-content .section .save-feature:hover {
    border: 1px solid #17baa1;
}

.dropdown-menu .menu-content .section .save-feature .icon {
    vertical-align: middle;
    display: inline-block;
    margin-top: 6px;
    width: 40%;
}

.dropdown-menu .menu-content .section .save-feature .icon .active {
    margin-left: 13px;
    display: none;
    max-width: 32px;
    max-height: 32px;
}

.dropdown-menu .menu-content .section .save-feature .icon .normal {
    margin-left: 13px;
    display: block;
    max-width: 32px;
    max-height: 32px;
}

.dropdown-menu .menu-content .section .save-feature .name {
    vertical-align: middle;
    display: inline-block;
    padding-left: 10px;
    padding-top: 20px;
    width: 60%;
    height: 100%;
    text-align: left;
    font-size: 13px;
    color: #A1A6C4;
}

.dropdown-menu .menu-content .save-feature:hover .name {
    color: #F0F0FF;
}

.dropdown-menu .menu-content .save-feature:hover .icon .active {
    display: block;
}

.dropdown-menu .menu-content .save-feature:hover .icon .normal {
    display: none;
}

/** save-images end **/

/** capture-images start **/
.dropdown-menu .menu-content .flex-capture {
    position: relative;
    margin-top: -10px;
    display: flex;
    width: 100%;
    height: 64px;
}

.dropdown-menu .menu-content .flex-capture .capture-feature {
    margin-left: 1px;
    margin-right: 1px;
    width: calc(33.33333% - 2px) !important;
    height: 100%;
    display: inline-block;
    align-content: center;
    justify-content: center;
    vertical-align: middle;
    border-radius: 5px;
    box-sizing: border-box;
    background: #2c2c2c;
    cursor: pointer;
}

.dropdown-menu .menu-content .flex-capture .capture-feature:hover {
    border: 1px solid #17baa1;
}

.dropdown-menu .menu-content .flex-capture .capture-feature .icon {
    height: 30px;
    margin-top: 14px;
    margin-left: 33%;
    display: inline-block;
    vertical-align: middle !important;
}

.dropdown-menu .menu-content .section .capture-feature .icon .active {
    display: none;
    max-width: 32px;
    max-height: 32px;
}

.dropdown-menu .menu-content .section .capture-feature .icon .normal {
    display: block;
    max-width: 32px;
    max-height: 32px;
}

.dropdown-menu .menu-content .section .capture-feature .icon img {
    max-width: 32px;
    max-height: 32px;
}

.dropdown-menu .menu-content .section .capture-feature .name {
    width: 100%;
    color: #A1A6C4;
    text-align: center;
    display: inline-block;
    font-size: 12px;
}

.dropdown-menu .menu-content .flex-capture .capture-feature:hover .name {
    color: #F0F0FF;
}

.dropdown-menu .menu-content .flex-capture .capture-feature:hover .icon .normal {
    display: none;
}

.dropdown-menu .menu-content .flex-capture .capture-feature:hover .icon .active {
    display: block;
}

.dropdown-menu .menu-content .flex-capture #capture-video-on.capture-feature.hide {
    display: none;
}

.dropdown-menu .menu-content .flex-capture #capture-video-off.capture-feature.hide {
    display: none;
}

/** capture-images end **/

/** drag-images start **/
.dropdown-menu .drag-content {
    width: 100%;
    height: 80px;
}

.dropdown-menu .drag-content .menu-item {
    position: relative;
    display: flex;
    width: 100%;
    height: 40px;
}

.dropdown-menu .drag-content .menu-item .name {
    margin-top: -2px;
    margin-left: 60px;
    float: left;
    color: #A1A6C4;
    font-size: 13px;
}

.button-cover, .knobs, .layer {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.button {
    position: absolute;
    /*position: relative;*/
    /*top: 50%;*/
    width: 32px;
    height: 16px;
    overflow: hidden;
    pointer-events: none;
}

.button.r, .button.r .layer {
    border-radius: 100px;
}

.button.b2 {
    border-radius: 2px;
}

.checkbox {
    position: relative;
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 3;
}

.knobs {
    z-index: 2;
    color: #ffffff;
}

.layer {
    width: 100%;
    margin-right: 20px;
    background-color: #e1e2e4;
    transition: 0.3s ease all;
    z-index: 1;
}

.button-styled .knobs,
.button-styled .checkbox {
    cursor: pointer !important;
}

.button-styled .knobs:before {
    content: '';
    position: absolute;
    top: 3px;
    width: 10px;
    height: 10px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    line-height: 1;
    background-color: #17baa1;
    border-radius: 50%;
    transition: 0.3s ease all, left 0.3s cubic-bezier(0.18, 0.89, 0.35, 1.15);
    cursor: pointer !important;
}

.button-styled .checkbox:active + .knobs:before {
    width: 46px;
    border-radius: 100px;
}

.button-styled .checkbox:checked:active + .knobs:before {
    margin-left: -26px;
}

.button-styled .checkbox:checked + .knobs:before {
    content: '';
    left: 18px;
    background-color: gray;
    cursor: pointer !important;
}

.button-styled .checkbox:checked ~ .layer {
    cursor: pointer !important;
    background-color: lightgray;
}

/** drag-images end **/

/** open-app, logout, login start **/
.open-app, .logout-wrapper, .login {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    height: 40px;
    cursor: pointer;
}

.logout, .refresh {
    display: flex;
    width: 50%;
}

.open-app:hover, .logout:hover, .login:hover, .refresh:hover {
    border-radius: 5px;
    border: 1px solid #17baa1;
    box-sizing: border-box;
}

.open-app .icon, .logout .icon, .login .icon, .refresh .icon {
    margin-top: 6px;
    width: 20%;
}

.open-app .name, .logout .name, .login .name, .refresh .name {
    margin-top: 10px;
    width: 80%;
    float: left;
    display: inline-block;
    font-size: 14px;
    color: #A1A6C4;
}

.open-app:hover .name, .logout:hover .name, .login:hover .name {
    color: #F0F0FF;
}

.open-app .name, .logout .name, .login .name, a {
    color: #A1A6C4 !important;
}

.open-app .icon .active, .logout .icon .active, .login .icon .active, .refresh .icon .active {
    display: none;
    max-width: 32px;
    max-height: 32px;
}

.open-app .icon .normal, .logout .icon .normal, .login .icon .normal {
    display: block;
    max-width: 32px;
    max-height: 32px;
}

.open-app .icon img, .logout .icon img, .login .icon img {
    max-width: 32px;
    max-height: 32px;
}

.open-app:hover .icon .normal, .logout:hover .icon .normal, .login:hover .icon .normal, .refresh:hover .icon .normal {
    display: none;
}

.open-app:hover .icon .active, .logout:hover .icon .active, .login:hover .icon .active, .refresh:hover .icon .active {
    display: block;
}

.refresh .icon div{
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh .icon-loading {
    display: none;
}
.refresh .processing{
    animation: loading-rotate 0.8s linear infinite;
}

/** open-app end **/

/** open-sc-client-iframe start **/
#open-sc-client-iframe {
    width: 0 !important;
    height: 0 !important;
    opacity: 0 !important;
    z-index: -999 !important;
}

.dropdown-menu .menu-item .state-enable {
    color: #1372FB;
}

.dropdown-menu .menu-item .state-disable {
    color: gray;
}

.dropdown-menu hr {
    border: 0;
    height: 1px;
    margin-top: -6px;
    background-color: #e9e9e9;
}

div,
p {
    margin: 0;
    padding: 0;
}

.clr {
    overflow: hidden;
}

.left {
    float: left;
}

.right {
    float: right;
}

a {
    color: #3681b3;
    text-decoration: none;
}

a:hover {
    color: #265c80;
}

a:active {
    color: #000;
}

p {
    word-wrap: break-word;
}

.update-notification {
    z-index: 10;
    bottom: 7px;
    right: 9px;
    position: absolute;
    display: block;
    padding: 2px 10px;
    border-radius: 3px;
    background-color: #3b82ff;
    color: #fff;
    cursor: pointer;
    display: none;
}

.update-notification:hover {
    color: #fff;
}

.update-notification.show {
    display: block;
}

.settings-menu .settings-header {
    user-select: none;
    position: relative;
    height: 36px;
    line-height: 36px;
    text-align: center;
    font-size: 14px;
    color: #A1A6C4;
    border-bottom: 1px solid #DDD;
    cursor: pointer;
}

.settings-menu .settings-header:hover {
    border-radius: 5px;
    border: 1px solid #17baa1;
    box-sizing: border-box;
}

.settings-menu .settings-header:hover .title {
    color: #F0F0FF;
}

.settings-menu .settings-header .icon .normal {
    display: block;
}

.settings-menu .settings-header .icon .active {
    display: none;
}

.settings-menu .settings-header:hover .icon .normal {
    display: none;
}

.settings-menu .settings-header:hover .icon .active {
    display: block;
}

.settings-menu .settings-header #back {
    position: absolute;
    top: 2px;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    transition: all 150ms ease-in-out;
    border-radius: 5px;
    color: #17baa1;
}

.settings-menu .settings-header .icon img {
    margin-top: 7px;
    float: left;
    max-width: 20px;
    max-height: 20px;
}

.settings-menu .settings-content {
    padding-top: 20px;
}

.settings-menu .settings-content .section {
    margin-bottom: 20px;
    font-size: 13px;
    color: #A1A6C4;
}

.settings-menu .settings-content .section .label {
    user-select: none;
    font-size: 14px;
    font-weight: 600;
    color: #A1A6C4;
    margin-bottom: 8px;
}

.settings-menu .settings-content .section p {
    opacity: 0.7;
    color: #A1A6C4;
    font-size: 13px;
    line-height: 19px;
}

.settings-menu .settings-content .section p a {
    color: #3b82ff;
    cursor: pointer;
    text-decoration: underline;
}

.settings-menu .settings-content .section .options {
    overflow: hidden;
}

.settings-menu .settings-content .section .options .option {
    /*float: left;*/
    display: inline-block;
    /*width: calc(33.33333% - 11px);*/
    /*width: 110px;*/
    margin-right: 10px;
    cursor: pointer;
    text-align: center;
    /*opacity: 0.8;*/
    transition: all 150ms ease-in-out;
    user-select: none;
}

.settings-menu .settings-content .section .options .option {
    width: calc(33.33333% - 11px);
}

.settings-menu .settings-content .section .options .option:hover {
    opacity: 1;
}

.settings-menu .settings-content .section .options .option .icon {
    position: relative;
    height: 60px;
    margin-bottom: 5px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid transparent;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    /*background-size: 100% 100%;*/
    overflow: hidden;
    transition: all 150ms ease-in-out;
}

.settings-menu .settings-content .section .options .option .name {
    font-size: 13px;
    color: #A1A6C4;
    text-align: center;
    opacity: 0.7;
    transition: all 150ms ease-in-out;
}

.settings-menu .settings-content .section .options .option.active {
    opacity: 1;
}

.settings-menu .settings-content .section .options .option.active .name {
    color: #17baa1;
    opacity: 1;
}

.settings-menu .settings-content .section .options .option.active .icon {
    border: 1px solid #17baa1;
}

.settings-menu .settings-content .section .options .option.active .icon:after {
    opacity: 1;
}

.settings-menu .settings-content .section .btn {
    user-select: none;
    width: calc(100% - 10px);
    font-size: 13px;
    color: #A1A6C4;
    background: #FFFFFF;
    border: 1px solid rgba(23, 43, 77, 0.30);
    border-radius: 5px;
    height: 32px;
    line-height: 32px;
    text-align: center;
}

.settings-menu .settings-content .section .btn:hover {
    opacity: 0.9;
    cursor: pointer;
}

.settings-menu .settings-content .section .options .option#format-jpeg .icon {
    background-image: url(./option-jpeg.svg);
}

.settings-menu .settings-content .section .options .option#format-jpeg.active .icon {
    background-image: url(./option-jpeg-active.svg);
}

.settings-menu .settings-content .section .options .option#format-png .icon {
    background-image: url(./option-png.svg);
}

.settings-menu .settings-content .section .options .option#format-png.active .icon {
    background-image: url(./option-png-active.svg);
}

.shortcuts-table {
    padding-right: 10px;
}

.shortcuts-table .shortcut {
    display: flex;
    color: #A1A6C4;
    margin-bottom: 5px;
}

.shortcuts-table .shortcut .name {
    flex: 5;
    padding: 0px 4px;
    line-height: 32px;
    height: 32px;
    font-size: 12px;
}

.shortcuts-table .shortcut .input {
    flex: 6;
    background-color: #fff;
    border-radius: 3px;
}

.shortcuts-table .shortcut .input input {
    width: 100%;
    border: none;
    line-height: 32px;
    height: 32px;
    padding: 0px 8px;
    font-size: 12px;
    background-color: transparent;
    box-sizing: border-box;
    color: #43474e;
}

.shortcuts-table .shortcut .input input:focus {
    outline: none;
    border: none;
    box-shadow: 0 2px 0 #17baa1;
}

.shortcuts-table .shortcut .input input::selection {
    color: #fff;
    background-color: rgb(0, 110, 255);
}


.sc-loading-spinner .circular {
    height: 26px;
    width: 26px;
    animation: loading-rotate 2s linear infinite;
}

.sc-loading-spinner .path {
    animation: loading-dash 1.5s ease-in-out infinite;
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
    stroke-width: 4;
    stroke: #17baa1;
    stroke-linecap: round;
}

@keyframes loading-rotate {
    100% {
        transform: rotate(1turn);
    }
}

@keyframes loading-dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -40px;
    }
    100% {
        stroke-dasharray: 90, 150;
        stroke-dashoffset: -120px;
    }
}

